<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<style>
			.container{
				margin: 200px auto;
				height: 100px;
				text-align: center;
			}
			
			.container>div{
				background: black;
				width: 10px;
				height: 100%;
				display: inline-block;
				border-radius: 10px;
				
				/*animation: my 1.2s infinite ease-in-out;*/
				/*-webkit-animation: my 1.2s infinite ease-in-out;*/
				-webkit-animation-name: my;
				-webkit-animation-duration: 1.2s;
				-webkit-animation-iteration-count: infinite;
				-webkit-animation-timing-function: ease-in-out;
				/*-webkit-animation-delay: 0s;*/
			}
			
			@-webkit-keyframes my{
				0%,40%,100%{
					-webkit-transform: scaleY(0.4);
				}
				20%{
					-webkit-transform: scaleY(1);
				}
			}
			
			.rect2{
				-webkit-animation-delay: 0.1s;
			}
			.rect3{
				-webkit-animation-delay: 0.2s;
			}
			.container .rect4{
				-webkit-animation-delay: 0.3s;
			}
			.container .rect5{
				-webkit-animation-delay: 0.4s;
			}
			.container .rect6{
				-webkit-animation-delay: 0.5s;
			}
		</style>
	</head>
	<body>
		<div class="container">
			<div class="rect1"></div>
			<div class="rect2"></div>
			<div class="rect3"></div>
			<div class="rect4"></div>
			<div class="rect5"></div>
			<div class="rect6"></div>
		</div>
	</body>
</html>
